<template>
  <div>
    <p>{{commentList.content}}</p>
    <parent v-if="commentList.parent" :parentList="commentList.parent" />
  </div>
</template>

<script>
import parent from "@/pages/test/parent";
export default {
  components: {
    parent
  },
  props: ["commentList"]
};
</script>

<style lang="less" scoped>
</style>